package gtkwire.widget;

import gtkwire.*;
import gtkwire.widget.utils.GtkButtonBoxStyle;

/**
*Base class for GtkHButtonBox and GtkVButtonBox.
*/
public abstract class GtkButtonBox extends GtkBox
{
	protected GtkButtonBox()
        {
		super();
        }

        protected GtkButtonBox( String name, GladeKey key )
        {
		super( name, key );
        }

	public void setLayout( GtkButtonBoxStyle layout_style )
	{
		app().sendCommand( name, GTKWireCommand.SET_LAYOUT, layout_style.getMode() );
	}

	public void setChildSecondary( GtkWidget child, boolean is_secondary)
	{
/*
		app().sendCommand( name, GTKWireCommand.SET_CHILD, is_secondary);
*/
	}

}//end class